package com.project.forlearning.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel("响应体")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResponseInfo<T> {

    @ApiModelProperty("状态码")
    private int code;//状态码

    @ApiModelProperty("信息")
    private String msg;//信息

    @ApiModelProperty("数据")
    private T data;//数据
}
